package com.dao;

import com.entity.PageBean;
import com.entity.Rechargerule;

import java.util.List;

public interface RechargeruleDao {
    int insert(Rechargerule rechargerule);
    int modify(Rechargerule rechargerule);
    int delete(int id);
    List<Rechargerule> findAll();
    //分页查询
    void findByPage(PageBean<Rechargerule> pageBean);
    // by id 通过id查数据
    Rechargerule findById(int id);
    // 模糊查询
    List<Rechargerule> findname(String name);

    //分页查询
    void findAllRule(PageBean page);

    void insertRule(Rechargerule rrule);

    void updateRule(Rechargerule rrule);
}
